package com.chianghao.rock.system.entity;

import com.chianghao.core.db.annotation.Entity;
import com.chianghao.core.db.annotation.Property;

@Entity(title="角色的权限范围",prefix = "sys")
public class RoleScope {


    @Property(title="角色")
    private Long roleId;

    @Property(title="资源ID")
    private Long scopeId;

    @Property(title="资源类型",remark = "1路由/2路由按钮/3路由接口")
    private Integer scopeType;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getScopeId() {
        return scopeId;
    }

    public void setScopeId(Long scopeId) {
        this.scopeId = scopeId;
    }

    public Integer getScopeType() {
        return scopeType;
    }

    public void setScopeType(Integer scopeType) {
        this.scopeType = scopeType;
    }
}
